package cn.datawin.bms.modules.deploy.service;

import cn.datawin.bms.deploy.entity.DeplDockerInfoEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface DeplDockerInfoService extends IService<DeplDockerInfoEntity> {

	boolean activeContainer(DeplDockerInfoEntity entity);

	boolean stopContainer(Integer id);

	boolean restartContainer(Integer id);

	boolean removeContainer(Integer id);

	boolean cleanContainer(Integer id);

	boolean editContainer(DeplDockerInfoEntity dockerInfo);

	boolean rebornContainer(Integer id);

	boolean upgradeContainer(DeplDockerInfoEntity dockerInfo);

	void wrapData(List<DeplDockerInfoEntity> records);
}
